#include<bits/stdc++.h>
using namespace std;
int a;
map<int,int> cnt;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n,ans=0;
    cin>>n;
    for(int i=0;i<n;i++){
        cin>>a;
        cnt[a]++;
        ans=max(ans,cnt[a]);
    }
    cout<<ans<<endl;
    return 0;
}
